import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import WebArms from '../../packages/core/src';
import RecordScreen from '../../packages/recordscreen/src';
import WebPerfomance from '../../packages/performance/src';

const app = createApp(App);

app.use(ElementPlus);
app.use(WebArms, {
  dsn: 'http://localhost:9000/reportData'
});

WebArms.use(WebPerfomance);
WebArms.use(RecordScreen, { recordScreentime: 15 });
app.mount('#app');
